package com.tjc.model;

/**
 * @ClassName ErrorCode
 * @Author tjc
 **/
public enum ErrorCode {

    TIME_NOT_ALLOWED("当前不在访问时间！"),
    PARAMS_ERROR("参数错误"),
    NO_AUTH("没有权限");

    private String msg;

    private ErrorCode(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }
}
